<template>
  <el-container>
    <el-aside width="auto"><CompAside/></el-aside>
    <el-container>
      <el-header><CompHeader/></el-header>
      <el-main><RouterView/></el-main>
    </el-container>
  </el-container>
</template>

<script>
// @ is an alias to /src

import CompAside from "../components/CompAside";
import CompHeader from "../components/CompHeader";

export default {
  components: {
    CompAside,
    CompHeader
  }
}
</script>

<style scoped>
.el-container {
  height: 100vh;
}

.el-header {
  background: gray;
  height: auto;
}

.el-main {
  padding-top: 0;
}
</style>